This tutorial shows how to create Android Virtual Device (AVD).
For Compose to work you need to select System Image API Level 29 or above.
AVD is emulator that pretends to be a device on your computer, which lets you test your app without a physical device.
AVD is created by selecting combination of
● screen size
● Android Version (System Image) (Needs to be downloaded when you first use it)
You can then select created AVDs from a list to test any of your applications.
AVD Manager
Create Virtual Device...
Choose a device definition
– Phone
– Nexus 5X
– Next
Select a system image
– Download R API Level 30
– License Agreement: Accept
– Next
– Finish
– Next
AVD Manager
Create Virtual Device...